/**
 * 遍历所有属性模板
 */
const modules = import.meta.glob(`../components/**/*`);
const M = {};
Object.keys(modules).forEach((key) => {
  const k = key
    .replace("../components/", "")
    .replace(".vue", "")
    .replace("/index", "");
  const module = modules[key];
  M[k] = module;
});

export default M;
